package it.gius.pe.shapes.witness;

public class PolyPointWitness implements SinglePointWitness{
	
	
	public int index;
	
	public PolyPointWitness() {
		index = 0;
	}
	
	
	@Override
	public Witness clone()  {
		PolyPointWitness clone = new PolyPointWitness();
		clone.index = index;
		return clone;
	}


	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PolyPointWitness other = (PolyPointWitness) obj;
		if (index != other.index)
			return false;
		return true;
	}
	
	

}
